package com.kjcxlab.avcviewer.util;

/**
 * Created by Xianlee on 8/12/2015.
 */
public class Config {
    private static Config mInstance = new Config();
    //private String mMulticastAddress = "239.0.2.8";
    //private int mMulticastPort = 16000;
    private String mMulticastAddress = "ff01::8";
    private int mMulticastPort = 6001;

    public void setMulticastAddress(String mMulticastAddress) {
        this.mMulticastAddress = mMulticastAddress;
    }

    public void setMulticastPort(int mMulticastPort) {
        this.mMulticastPort = mMulticastPort;
    }

    public String getMulticastAddress() {

        return mMulticastAddress;
    }

    public int getMulticastPort() {
        return mMulticastPort;
    }

    private Config() {
    }

    public static Config instance() {
        return mInstance;
    }
}

